-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: anyOf/oneOf missing properties for intersection/inheritance #5930
fix: anyOf/oneOf missing properties for intersection/inheritance #5930
Conversation
@microsoft-github-policy-service agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
This is great work!
I think that once we have a few additional unit tests, we should be good to merge this.
9956de6
to
bb00147
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making the changes!
Head branch was pushed to by a user without write access
bb00147
to
5094aaa
Compare
Looks like there were some formatting issues which caused the build to fail, I have now fixed those. For some reason the OpenApiSchemaExtensionsTests did not report any issues locally when running |
This adds these scenarios as specific cases in
KiotaBuilder.CreateModelDeclarations
. Not sure if this is the best place to handle this but at least this fixes the issue where the properties & possible inheritance were completely missing while not breaking anything existing.Fixes #5921